package neo.tetris.rpc.message;

import java.nio.ByteBuffer;

import neo.sourceEngine.network.rpc.message.annotation.RpcMessage;
import neo.sourceEngine.network.rpc.message.annotation.RpcMessageParameter;

public interface HallMessage {
	@RpcMessage(desc = "创建房间")
	ByteBuffer roomAdd(
			@RpcMessageParameter(name = "battleId") String battleId,
			@RpcMessageParameter(name = "battleConfId") String battleConfId,
			@RpcMessageParameter(name = "battleName") String battleName);

	@RpcMessage(desc = "删除房间")
	ByteBuffer roomDelete(
			@RpcMessageParameter(name = "battleId") String battleId);
}
